package com.qf.ssm.mapper.order;

import com.qf.ssm.entity.order.OrderMessage;
import org.apache.ibatis.annotations.Param;

/**
*   @author hzy
*   @DATE  2021/2/25
*/

public interface OrderMessageMapper {
    int deleteByPrimaryKey(@Param("omId") Integer omId);

    int insert(OrderMessage record);

    /*
    * 订单信息添加
    * */
    int insertSelective(OrderMessage record);

    OrderMessage selectByPrimaryKey(Integer omId);

    int updateByPrimaryKeySelective(OrderMessage record);

    /*
    *
    * 订单信息取消
    * */
    int updateByUserId(OrderMessage record);
}